package com.sky.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.result.Result;
import com.sky.vo.DishVO;

import java.util.List;

/**
 * <p>
 * 菜品 服务类
 * </p>
 *
 * @author fcy
 * @since 2025-09-08
 */
public interface IDishService extends IService<Dish> {

    void add(DishDTO dishDTO);

    Result<PageResult> getPage(DishPageQueryDTO pageDto);

    Result<String> change(DishDTO dishDTO);

    Result<DishVO> selectById(Long id);

    Result<List<Dish>> getList(Integer categoryId);

    void changeStatus(Integer status, Long id);

    void delete(List<Long> ids);

    List<DishVO> getUserList(Integer categoryId);
}
